home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-01-15 | 8.6 KB | 293 lines | [TEXT/MPS ] |
- #
- # File: MakeFile
- #
- # Contains: Build rules for FWIM sample code.
- #
- # Written by: Erik Staats
- #
- # Copyright: © 1996-1997 by Apple Computer, Inc., all rights reserved.
- #
- # Change History (most recent first):
- #
- # <FW29> 8/29/97 KDM Bumped version to 1.0.1a6. Piece of Blaze 1.1a6
- # <FW28> 6/19/97 GG Bumped version to 1.0.1a5.
- # <FW27> 6/5/97 EA Added instructions to build PeleFWIM sample code.
- # <FW26> 5/29/97 GG Bumped version to 1.01a4.
- # <FW25> 5/16/97 GG Bumped FireWire version to 1.01a3.
- # <FW24> 4/29/97 GG Bumped version to 1.0.1a2.
- # <FW23> 4/10/97 GG Bumped version to 1.0.1d1.
- # <FW22> 3/27/97 GG Bumped version to 1.0 GM.
- # <FW21> 3/19/97 GG Bumped version to 1.0b3.
- # <FW20> 3/12/97 GG Bumped version to 1.0b2.
- # <FW19> 2/19/97 GG Bumped version to 1.0a3.
- # <FW18> 2/11/97 GG Bumped copyright to 1997.
- # <FW17> 2/11/97 GG Bumped version to 1.0a2.
- # <FW16> 2/4/97 GG
- # <FW15> 2/4/97 GG Bumped version to 1.0d24.
- # <FW14> 1/28/97 GG Bumped version to 1.0d23.
- # <FW13> 1/21/97 GG Bumped version to 1.0d22.
- # <FW12> 1/2/97 GG Bumped Version to 1.0d21.
- # <FW11> 12/6/96 GG Bumped version to 1.0d19.
- # <FW10> 11/27/96 ES Removed links to DevNLib.
- # <FW9> 11/26/96 ES Removed -main FWIMInterface option from links.
- # <FW8> 11/14/96 GG Bumped version to 1.0d18.
- # <FW7> 10/31/96 ES Bumped version to 1.0d17.
- # <FW6> 10/16/96 ES Bumped version to 1.0d16.
- # <FW5> 10/2/96 ES Bumped version to 1.0d15.
- # <FW4> 9/12/96 ES Bumped version to 1.0d14.
- # <FW3> 8/26/96 ES Changed to use MrC and SC. This MakeFile will now only work with
- # ETO #20 and forward.
- # <FW2> 8/7/96 ES Filled in contains and written by fields.
- # <FW1> 8/7/96 ES first checked in
- #
- #
-
- ################################################################################
- #
- # Define some directories
- #
-
- FWIMRootDir = :
-
- FWSampleDir = {FWIMRootDir}::
-
- SysInterfacesDir = {FWSampleDir}Interfaces:
- FWIMInterfacesDir = {FWIMRootDir}Interfaces:
-
- SysLibrariesDir = {FWSampleDir}Libraries:
- FWIMLibrariesDir = {FWIMRootDir}Libraries:
-
- LynxFWIMSourceDir = {FWIMRootDir}LynxFWIM:
- PeleFWIMSourceDir = {FWIMRootDir}PeleFWIM:
-
- BuildResultsDir = {FWSampleDir}BuildResults:
- ObjectsDir = {BuildResultsDir}Objects:
- ExtensionsDir = {BuildResultsDir}Extensions:
-
- ################################################################################
- #
- # Define version info
- #
-
- FWVersion = 1
- FWRevision = 0
- FWBuildStage = alpha
- FWBuildNumber = 6
- FWShortVersionString = '"1.0.1a6"'
- FWLongVersionString = '"1.0.1a6, © 1995-97 Apple Computer, Inc."'
-
-
- ################################################################################
- #
- # Define stuff for 68K compilation
- #
-
- C68KOptions = -d ccompile ∂
- -b ∂
- -r ∂
- -i "{SysInterfaces}" ∂
- -i "{CIncludes}" ∂
- -mc68020
-
- Asm68K = Asm
-
- C68K = SC
-
- Link68K = Link
-
-
- ################################################################################
- #
- # Define stuff for PowerPC compilation
- #
-
- MrCOptions = -opt speed ∂
- -w 2,7,35 ∂
- -d TRUE=1 ∂
- -d FALSE=0 ∂
- -i "{SysInterfacesDir}" ∂
- -i "{FWIMInterfacesDir}" ∂
- -i "{CIncludes}"
-
- CPPCOptions = {MrCOptions}
-
- AsmPPC = PPCAsm
-
- AsmPPCOptions = -dialect PowerPC ∂
- -o {Targ}
-
- CPPC = MrC
-
- LinkPPC = PPCLink
-
-
- ################################################################################
- #
- # Define stuff for rez
- #
-
- RezOptions = -d FWVersion={FWVersion} ∂
- -d FWRevision={FWRevision} ∂
- -d FWBuildStage={FWBuildStage} ∂
- -d FWBuildNumber={FWBuildNumber} ∂
- -d FWShortVersionString={FWShortVersionString} ∂
- -d FWLongVersionString={FWLongVersionString}
-
-
- ################################################################################
- #
- # Lynx FWIM
- #
-
- "{ObjectsDir}LynxFWIM.c.o" ƒ ∂
- "{LynxFWIMSourceDir}LynxFWIM.c" ∂
- "{LynxFWIMSourceDir}LynxFWIM.h"
- {CPPC} ∂
- "{LynxFWIMSourceDir}LynxFWIM.c" ∂
- -i "{LynxFWIMSourceDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}LynxFWIM" ƒƒ ∂
- "{ObjectsDir}LynxFWIM.c.o" ∂
- "{LynxFWIMSourceDir}LynxFWIM.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{LynxFWIMSourceDir}LynxFWIM.exp" ∂
- "{ObjectsDir}LynxFWIM.c.o" ∂
- "{SysLibrariesDir}InterfaceLib.xcoff" ∂
- "{SysLibrariesDir}StdCLib.xcoff" ∂
- "{SysLibrariesDir}NameRegistryLib" ∂
- "{SysLibrariesDir}DriverServicesLib" ∂
- "{SysLibrariesDir}PCILib" ∂
- "{SysLibrariesDir}FWServicesLib" ∂
- "{SysLibrariesDir}PPCCRuntime.o" ∂
- -librename InterfaceLib.xcoff=InterfaceLib ∂
- -librename StdCLib.xcoff=StdCLib ∂
- -o {Targ}
-
- "{ExtensionsDir}LynxFWIM" ƒƒ ∂
- "{ObjectsDir}LynxFWIM.c.o" ∂
- "{LynxFWIMSourceDir}LynxFWIM.exp" ∂
- "{LynxFWIMSourceDir}LynxFWIM.r" ∂
- "{FWIMRootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{LynxFWIMSourceDir}LynxFWIM.r" ∂
- -a ∂
- -o {Targ}
-
-
- LynxFWIM ƒ ∂
- "{ExtensionsDir}LynxFWIM"
-
-
- ################################################################################
- #
- # Lynx Lite FWIM
- #
-
- "{ObjectsDir}LynxLiteFWIM.c.o" ƒ ∂
- "{LynxFWIMSourceDir}LynxFWIM.c" ∂
- "{LynxFWIMSourceDir}LynxFWIM.h"
- {CPPC} ∂
- "{LynxFWIMSourceDir}LynxFWIM.c" ∂
- -d LynxLiteFWIM ∂
- -i "{LynxFWIMSourceDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}LynxLiteFWIM" ƒƒ ∂
- "{ObjectsDir}LynxLiteFWIM.c.o" ∂
- "{LynxFWIMSourceDir}LynxFWIM.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{LynxFWIMSourceDir}LynxFWIM.exp" ∂
- "{ObjectsDir}LynxLiteFWIM.c.o" ∂
- "{SysLibrariesDir}InterfaceLib.xcoff" ∂
- "{SysLibrariesDir}StdCLib.xcoff" ∂
- "{SysLibrariesDir}NameRegistryLib" ∂
- "{SysLibrariesDir}DriverServicesLib" ∂
- "{SysLibrariesDir}PCILib" ∂
- "{SysLibrariesDir}FWServicesLib" ∂
- "{SysLibrariesDir}PPCCRuntime.o" ∂
- -librename InterfaceLib.xcoff=InterfaceLib ∂
- -librename StdCLib.xcoff=StdCLib ∂
- -o {Targ}
-
- "{ExtensionsDir}LynxLiteFWIM" ƒƒ ∂
- "{ObjectsDir}LynxLiteFWIM.c.o" ∂
- "{LynxFWIMSourceDir}LynxFWIM.exp" ∂
- "{LynxFWIMSourceDir}LynxFWIM.r" ∂
- "{FWIMRootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{LynxFWIMSourceDir}LynxFWIM.r" ∂
- -a ∂
- -o {Targ}
-
-
- LynxLiteFWIM ƒ ∂
- "{ExtensionsDir}LynxLiteFWIM"
-
-
- ################################################################################
- #
- # Pele FWIM
- #
-
- "{ObjectsDir}PeleFWIM.c.o" ƒ ∂
- "{PeleFWIMSourceDir}PeleFWIM.c" ∂
- "{PeleFWIMSourceDir}PeleFWIM.h"
- {CPPC} ∂
- "{PeleFWIMSourceDir}PeleFWIM.c" ∂
- -i "{PeleFWIMSourceDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}PeleFWIM" ƒƒ ∂
- "{ObjectsDir}PeleFWIM.c.o" ∂
- "{PeleFWIMSourceDir}PeleFWIM.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{PeleFWIMSourceDir}PeleFWIM.exp" ∂
- "{ObjectsDir}PeleFWIM.c.o" ∂
- "{SysLibrariesDir}InterfaceLib.xcoff" ∂
- "{SysLibrariesDir}StdCLib.xcoff" ∂
- "{SysLibrariesDir}NameRegistryLib" ∂
- "{SysLibrariesDir}DriverServicesLib" ∂
- "{SysLibrariesDir}PCILib" ∂
- "{SysLibrariesDir}FWServicesLib" ∂
- "{SysLibrariesDir}PPCCRuntime.o" ∂
- -librename InterfaceLib.xcoff=InterfaceLib ∂
- -librename StdCLib.xcoff=StdCLib ∂
- -o {Targ}
-
- "{ExtensionsDir}PeleFWIM" ƒƒ ∂
- "{ObjectsDir}PeleFWIM.c.o" ∂
- "{PeleFWIMSourceDir}PeleFWIM.exp" ∂
- "{PeleFWIMSourceDir}PeleFWIM.r" ∂
- "{FWIMRootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{PeleFWIMSourceDir}PeleFWIM.r" ∂
- -a ∂
- -o {Targ}
-
-
- PeleFWIM ƒ ∂
- "{ExtensionsDir}PeleFWIM"
-
- FWIM ƒ ∂
- LynxFWIM ∂
- LynxLiteFWIM
-